<%@page import="java.util.ArrayList"%>
<%@page import="sopt.engSearch.NaverSearchProc"%>
<%@page import="statics.SoptVars"%>
<%@page import="comm.util.RequestManager"%>
<%@page import="comm.util.SoptHashMap"%>
<%@page import="sopt.engSearch.TranslateProc"%>
<%@page import="sopt.engSearch.YahooSearchProc"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>    
<%
	request.setCharacterEncoding("UTF-8");
   	SoptHashMap hm = RequestManager.getRequest(request);
   	int curPage = 1;
   	if(hm!=null && hm.get("PAGE")!=null)
   		curPage = Integer.parseInt(hm.get("PAGE").toString());
   	//String curStr = TranslateProc.getTranslatedString(hm.get("Q").toString(),SoptVars.ENG_TO_KOR);
   	
   	//지역 검색 결과
   	//query 영어로
   	ArrayList lt = YahooSearchProc.getYahooPOISearchResult(hm.get("Q").toString());
   	String result = YahooSearchProc.getTranslatedLocalResult(lt,curPage,SoptVars.Menu_Category_Local);
%>
<%=result%>